let publicKey = `-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApBupBxBJ6CU8potx2wi6
2AGvPlmbkwOarUvI8p4fbQpdb+WtI24LgMilO2NKcb5kRbBCiUmxmttXF7Rg6O2/
EBHKZrRCmr33JnBtzBCMsVNEPC80l4ZDLnxBEk79JVhsRCLUFxvh5Q2uBfQokVVU
2gptblYvsKoqO79JAN/o4bM718bRDeGuGq8sVZ0GgVUgAmIbMvRsWQTNz7GBN4cB
jamEqADNvWqJcFXjVjCmd9U+sfqPsLqTwSSnNAuIopCNLc0NjYCjjHuklvpHWjvC
edIXq/UuTNk+OtaIESTNIVM96llgw95b4mN9I1G1h7IZ9LeHeyU054nmJHPqxD6M
8QIDAQAB
-----END PUBLIC KEY-----`

import WxmpRsa from 'wxmp-rsa'
const rsa = new WxmpRsa()
rsa.setPublicKey(publicKey)
class RSA{
  constructor(){
  }
  
  Encrypt(context){
	const cryptStr = rsa.encryptLong(context)
	return cryptStr
  }
  
}

export default new RSA()
